package models

import "gorm.io/gorm"

type Likes struct {
	gorm.Model
	Userid  int64
	HouseId int64
}

func (l *Likes) AddLike() error {
	return DB.Create(&l).Error
}
